﻿using DataScripter.Excel.FormattedValues;

namespace DataScripter.Excel.Formatters
{
	static class CellFormatterExtensions
	{
		public static GenericFormattedValue<TValue> FormatValue<TValue>(this ICellFormatter formatter, TValue value )
		{
			return new GenericFormattedValue<TValue>(value, new[]{formatter});
		}
	}
}
